<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class home extends My_Controller {
	function __construct(){
		parent::__construct();
		$this->load->model('m_admin');
		$this->load->model('mdl_general');
		$this->load->model('mdl_rpijm');
		if(!$this->m_admin->isLogin()) {
			redirect('c_home');
		}
	}
	
	public function index() {
		
		$this->load->view('home');
	}
	
}
?>
